import request from '@/utils/request'

export function getDep (params) {
  return request({
    url: '/dep/getDep',
    method: 'get',
    params
  })
}

export function deleteDepById (id) {
  return request({
    url: '/dep/deleteById',
    method: 'get',
    params: { id }
  })
}
